<%@ page contentType="text/html; charset=utf-8" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>员工工资更新</title>
<link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="../style/style.css" />

<%@ taglib prefix="s" uri="/struts-tags" %>

<script type="text/javascript">

	function updateWage()
	{
		wageInfoForm.submit();
	}
	function resetForm()
	{
		wageInfoForm.reset();
	}
</script>

</head>
<body>
<table width="1000" cellpadding="0" cellspacing="0" class="table">
  <tr>
    <td>
      <table width="100%" cellpadding="0" cellspacing="0" class="table2">
        <tr>
          <td valign="top">

        <div class="mainarea">
			<s:form name="wageInfoForm" action="wage!updateWage" method="post" theme="simple">
			<s:hidden name="wage.wageId" />
            <div class="search" style="padding:10px">
              <table cellpadding="0" cellspacing="0" width="100%" class="table4">
                  <tr>
                    <th height="25" colspan="6" bgcolor="#BBD2F7" class="title">员工工资基本信息</th>
                  </tr>
                  <tr>
                    <td width="100" height="30" align="right">&nbsp;员工编号： </td>
                    <td width="262">
						<s:property value="wage.employee.employeeId" />
					</td>
                    <td width="120" align="right">员工名称：</td>
                    <td width="233">
						<s:property value="wage.employee.employeeNameC" />
					</td>
                    <td width="110" height="30" align="right">身份证号：</td>
                    <td width="168">
						<s:property value="wage.employee.employeeIdcard" />
					</td>
                  </tr>
                  <tr>
                    <td height="30" align="right">&nbsp;部&nbsp;&nbsp;&nbsp;&nbsp;门： </td>
                    <td>
						<s:property value="wage.employee.department.departNameC" />
					</td>
                    <td height="30" align="right">&nbsp;工作状态： </td>
                    <td>
						<s:property value="wage.employee.employeeStatu" />
					</td>
                    <td height="30" align="right">联系方式：</td>
                    <td>
					</td>
                  </tr>
                  <tr>
                    <td height="30" align="right">职&nbsp;&nbsp;&nbsp;&nbsp;务： </td>
                    <td>
						<s:property value="wage.employee.employeeposition.positionName" />
					</td>
                    <td height="30" align="right">结算状态： </td>
                    <td>
						<s:property value="wage.wageState" />
					</td>
                    <td height="30" align="right">工资卡号：</td>
                    <td>
						<s:property value="wage.employeeaddition.wageCard" />
					</td>
                  </tr>
                  <tr>
                    <td height="30" align="right">工资月份： </td>
                    <td>
						<s:date name="wage.standardDate" format="yyyy-MM" />
					</td>
                    <td height="30" align="right">应发工资： </td>
                    <td>
						<s:property value="wage.wageDeserved" />
					</td>
                    <td height="30" align="right">实发工资：</td>
                    <td>
						<s:textfield name="wage.wageActual" />
					</td>
                  </tr>
                  <tr>
                    <td align="right">发放日期：</td>
                    <td>
						<s:textfield name="wage.payDate">
							<s:param name="value">
								<s:date name="wage.payDate" format="yyyy-MM-dd" />
							</s:param>
						</s:textfield>
					</td>
                    <td align="right">初&nbsp;&nbsp;&nbsp;&nbsp;佣：</td>
                    <td>
						<s:textfield name="wage.fyc" />
					</td>
                    <td align="right">续&nbsp;&nbsp;&nbsp;&nbsp;佣：</td>
                    <td>
						<s:textfield name="wage.ryc" />
					</td>
                  </tr>
                  <tr>
                    <td align="right">月度销售奖： </td>
                    <td>
						<s:textfield name="wage.monthlyAward" />
					</td>
                    <td align="right">季度销售奖：</td>
                    <td>
						<s:textfield name="wage.quarterlyAward" />
					</td>
                    <td align="right">年度销售奖：</td>
                    <td>
						<s:textfield name="wage.annualAward" />
					</td>
                  </tr>
                  <tr>
                    <td align="right">育&nbsp;成&nbsp;奖： </td>
                    <td>
						<s:textfield name="wage.ycAllowance" />
					</td>
                    <td align="right">直辖组管理津贴：</td>
                    <td>
						<s:textfield name="wage.dallowance" />
					</td>
                    <td align="right">区域管理津贴：</td>
                    <td>
						<s:textfield name="wage.qgAllowance" />
					</td>
                  </tr>
                  <tr>
                    <td align="right">增员辅导津贴： </td>
                    <td>
						<s:textfield name="wage.zyAllowance" />
					</td>
                    <td align="right">区域育成奖：</td>
                    <td>
						<s:textfield name="wage.qycAllowance" />
					</td>
                    <td align="right">区域年度分红：</td>
                    <td>
						<s:textfield name="wage.annualDividend" />
					</td>
                  </tr>
                  
                  <tr>
                    <th colspan="6">&nbsp;</th>
                  </tr>
                </table>
                <table width="100%" cellpadding="0" cellspacing="0"class="table3">
                    <tr>
                        <td width="6%" class="title">&nbsp;</td>
                        <td width="5%" ></td>
                        <td width="5%" >&nbsp;</td>
                        <td width="18%" >&nbsp;</td>
                        <td width="10%" align="right">标记为已结算</td>
                        <td width="5%" align="left">
                        	<s:checkbox name="wage.wageState" fieldValue="true" cssStyle="width:30px; border:0px" />
                        </td>
                        <td width="5%" >
                        	<a onclick="javascript:updateWage();" href="javascript:void(0);">
								<span class="clientinfo_but">保&nbsp;存</span>
							</a>
                        </td>
                        <td width="5%" >
                        	<a onclick="javascript:resetForm();" href="javascript:void(0);">
                        		<span class="clientinfo_but">重&nbsp;置</span>
                        	</a>
                        </td>
                        <td width="5%" ></td>  
                        <td width="14%" >&nbsp;</td>
                    </tr>
                </table>
            </div>
			</s:form>
            </div></td>
        </tr>
      </table>
    </td>
  </tr>
</table>

</body>
</html>
